package com.atguigu.springcloud;

import com.atguigu.springcloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

@RestController
public class SendMessageInfoController {
    @Resource
    private IMessageProvider messageProvider;

    @GetMapping("/sendMessageTest")
    public String sendMessageTest(){
        return messageProvider.send();
    }

}

